Skip to main content

13.1 Obtain the currencies supported by MINPAY wallet (including legal currency and digital currency)

#Brief description: Get the currencies supported by the wallet application (including legal currency and digital currency)

Query parameters

None

Return value

Parameter nameTypeParameter meaningParameter description
codeintRequest statusCommunication status Successful return: 0, others indicate failure
successbooleanSuccess Statustrue Success
messagestringDescription
datajsonParametersPlease refer to the following description for parameters
Return to Example
{  
    "code": 0,
    "success": true,
    "message": null,
    "data": [
        {
            "currency": "TRX",
            "name": "trx",
            "display": true,
            "description": "trx的币",
            "symbol": "t",
            "type": "DIGITAL",
            "decimalPlace": 6,
            "scale": 6,
            "logo": {
                "gid": "rM44wzYk11lmiYKVzpFzh2KBSBn6h956",
                "fileUrl": "https://wallet-dev.com/download/zpFzh2KBSBn6h956",
                "previewUrl": "https://wallet-dev.com/preview/zh2KBSBn6h956"
            }
        },
        {
            "currency": "USDT",
            "name": "泰达币",
            "display": true,
            "description": "泰达币",
            "symbol": "₮",
            "type": "DIGITAL",
            "decimalPlace": 6,
            "scale": 6,
            "logo": {
                "gid": "BXcLawRPnRk8s482TBjkhYHVBr3plp4b",
                "fileUrl": "https://wallet-dev.com/download/BBjkhYHVBr3plp4b",
                "previewUrl": "https://wallet-dev.com/preview/TBjkhYHVBr3plp4b"
            }
        },
        {
            "currency": "CNY",
            "name": "羊角币",
            "display": true,
            "description": "羊角币",
            "symbol": "¥",
            "type": "LEGAL",
            "decimalPlace": 2,
            "scale": 2,
            "logo": {
                "gid": "BcEskW7fQLtZcfHmSVDSy0tfxNh8MoLI",
                "fileUrl": "https://wallet-dev.com/download/SVDSy0tfxNh8MoLI",
                "previewUrl": "https://wallet-dev.com/preview/Sy0tfxNh8MoLI"
            }
        },
        {
            "currency": "USD",
            "name": "美元",
            "display": true,
            "description": "美元",
            "symbol": "$",
            "type": "LEGAL",
            "decimalPlace": 2,
            "scale": 2,
            "logo": {
                "gid": "EImED35TIOrYYMC5gTHjpgeOO2kjX0xV",
                "fileUrl": "https://wallet-dev.com/download/HjpgeOO2kjX0xV",
                "previewUrl": "https://wallet-dev.com/preview/THjpgeOO2kX0xV"
            }
        }
    ]
}
data parameter description
Parameter nameTypeParameter meaningParameter description
currencystringCurrency code
namestringCurrency name
displaystringWhether to display by defaulttrue
descriptionstringCurrency Introduction
symbolstringCurrency symbol
typestringCurrency typeDIGITAL: digital currency | LEGAL: legal currency
decimalPlacestringSupport decimal places
scalestringDisplay accuracy
logostringLOGO information
└ gidstringAttachment identification ID
└ fileUrlstringFile access address
└ previewUrldoubleFile preview address